package org.jeecg.modules.demo.timeline.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 专利时间脉络表
 * @Author: jeecg-boot
 * @Date: 2025-01-15
 * @Version: V1.0
 */
@Data
@TableName("t_patent_timeline")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="专利时间脉络表")
public class PatentTimeline implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
    
    /**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
    
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
    
    /**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
    
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
    
    /**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
    
    /**专利ID*/
    @Excel(name = "专利ID", width = 15)
    @Schema(description = "专利ID")
    private java.lang.String patentId;
    
    /**事件类型*/
    @Excel(name = "事件类型", width = 15, dicCode = "patent_event_type")
    @Schema(description = "事件类型：APPLY-申请，PUBLISH-公布，GRANT-授权，REJECT-驳回")
    private java.lang.String eventType;
    
    /**事件日期*/
    @Excel(name = "事件日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "事件日期")
    private java.util.Date eventDate;
    
    /**事件标题*/
    @Excel(name = "事件标题", width = 15)
    @Schema(description = "事件标题")
    private java.lang.String eventTitle;
    
    /**事件描述*/
    @Excel(name = "事件描述", width = 15)
    @Schema(description = "事件描述")
    private java.lang.String eventDescription;
    
    /**事件状态*/
    @Excel(name = "事件状态", width = 15, dicCode = "patent_event_status")
    @Schema(description = "事件状态：ACTIVE-有效，INACTIVE-无效")
    private java.lang.String eventStatus;
    
    /**排序顺序*/
    @Excel(name = "排序顺序", width = 15)
    @Schema(description = "排序顺序")
    private java.lang.Integer sortOrder;
    
    /**备注*/
    @Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private java.lang.String remark;
}

